//
//  NextViewController.m
//  testZJH
//
//  Created by azi on 17/4/28.
//  Copyright © 2017年 yugang123. All rights reserved.
//

#import "NextViewController.h"
#import "CenterModel.h"
@interface NextViewController ()

@end

@implementation NextViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor cyanColor];
    
    NSLog(@"............%@",_groupID);
    
    UIButton *btn = [[UIButton alloc]initWithFrame:(CGRectMake(100, 100, 100, 30))];
    btn.backgroundColor = [UIColor lightGrayColor];
    [btn addTarget:self action:@selector(handleDissMiss) forControlEvents:(UIControlEventTouchUpInside)];
    [self.view addSubview:btn];

    // Do any additional setup after loading the view.
}

- (void)setGroupID:(id)groupID{
    
    _groupID = groupID;
    
}

- (void)handleDissMiss{
    
    [CenterModel dismissVC:@"ViewController" with:self with:@"78910"];

    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
